for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import EngineApp from '../../Framework/engine.js'
import homePage from "../pages/home.js"
import docs from '../pages/docs.js'
import AboutPage from '../pages/about.js'
var isCreate=false
var eng=new EngineApp()
class routes{
routesCreated(){
//sistemas De rotas
if(isCreate==false){
isCreate
false
==
===
eng.routesEngine.registerRoute("http://127.0.0.1:5500/LavineWiki/index.html#pageInitial",this.teste)
eng.routesEngine.registerRoute("http://127.0.0.1:5500/LavineWiki/index.html#docs",this.docc)
eng.routesEngine.registerRoute("http://127.0.0.1:5500/LavineWiki/index.html#about",this.aboutRoute)
}
isCreate=true
eng.routesEngine.runRoute("http://127.0.0.1:5500/LavineWiki/index.html","http://127.0.0.1:5500/LavineWiki/index.html#pageInitial")
eng.routesEngine.whenUpdate(eng.routesEngine.runRoute("http://127.0.0.1:5500/LavineWiki/index.html","http://127.0.0.1:5500/LavineWiki/index.html#pageInitial"))
teste(){
eng.renderEngine.pageDynamic="dinamic-Article"
eng.renderEngine.clearPage()
homePage()
docc(){
docs()
aboutRoute(){
AboutPage()
doc(){
eng.routesEngine.goToLink("http://127.0.0.1:5500/LavineWiki/index.html#docs")
about(){
eng.routesEngine.goToLink("http://127.0.0.1:5500/LavineWiki/index.html#about")
export default routes